// 模拟API响应数据
export const mockProjects = [
  {
    id: 1,
    name: '面部清洁护理',
    description: '深层清洁面部肌肤，去除黑头粉刺，改善肤质',
    duration: 60,
    price: 198,
    status: 'active',
    createdAt: '2024-01-10 10:00:00',
    updatedAt: '2024-01-10 10:00:00'
  },
  {
    id: 2,
    name: '全身SPA按摩',
    description: '全身精油按摩，舒缓疲劳，放松身心',
    duration: 90,
    price: 368,
    status: 'active',
    createdAt: '2024-01-11 14:30:00',
    updatedAt: '2024-01-11 14:30:00'
  },
  {
    id: 3,
    name: '美甲服务',
    description: '手部护理、美甲设计、指甲修护',
    duration: 45,
    price: 128,
    status: 'active',
    createdAt: '2024-01-12 09:15:00',
    updatedAt: '2024-01-12 09:15:00'
  }
]

export const mockProducts = [
  {
    id: 1,
    name: '玫瑰精油',
    categoryId: 1,
    categoryName: '精油类',
    description: '纯天然玫瑰精油，具有保湿、抗衰老功效',
    price: 298,
    stock: 50,
    status: 'active',
    createdAt: '2024-01-10 10:00:00',
    updatedAt: '2024-01-10 10:00:00'
  },
  {
    id: 2,
    name: '洁面乳',
    categoryId: 2,
    categoryName: '清洁类',
    description: '温和洁面乳，适合各种肤质',
    price: 89,
    stock: 100,
    status: 'active',
    createdAt: '2024-01-11 14:30:00',
    updatedAt: '2024-01-11 14:30:00'
  }
]

export const mockCategories = [
  {
    id: 1,
    name: '精油类',
    description: '各种植物精油产品',
    sort: 1,
    status: 'active',
    createdAt: '2024-01-10 10:00:00'
  },
  {
    id: 2,
    name: '清洁类',
    description: '面部清洁、身体清洁产品',
    sort: 2,
    status: 'active',
    createdAt: '2024-01-11 14:30:00'
  }
]

export const mockAppointments = [
  {
    id: 1,
    memberName: '张三',
    memberPhone: '13800138001',
    projectName: '面部清洁护理',
    beauticianName: '王美容师',
    appointmentTime: '2024-01-16 10:00',
    duration: 60,
    status: 'confirmed',
    notes: '客户要求使用温和产品',
    createdAt: '2024-01-15 09:00:00',
    updatedAt: '2024-01-15 09:00:00'
  },
  {
    id: 2,
    memberName: '李四',
    memberPhone: '13800138002',
    projectName: '全身SPA按摩',
    beauticianName: '李美容师',
    appointmentTime: '2024-01-16 14:30',
    duration: 90,
    status: 'pending',
    notes: '',
    createdAt: '2024-01-15 10:30:00',
    updatedAt: '2024-01-15 10:30:00'
  }
]

export const mockSales = [
  {
    id: 1,
    memberId: 1,
    memberName: '张三',
    productId: 1,
    productName: '玫瑰精油',
    quantity: 2,
    unitPrice: 298,
    totalAmount: 596,
    finalAmount: 596,
    paymentMethod: 'wechat',
    status: 'completed',
    createdAt: '2024-01-15 11:00:00',
    createdBy: 'admin'
  },
  {
    id: 2,
    memberId: 2,
    memberName: '李四',
    productId: 2,
    productName: '洁面乳',
    quantity: 1,
    unitPrice: 89,
    totalAmount: 89,
    finalAmount: 89,
    paymentMethod: 'alipay',
    status: 'completed',
    createdAt: '2024-01-15 12:30:00',
    createdBy: 'admin'
  }
]